package com.summer.user.center.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.summer.user.center.model.TestTable;
import com.summer.user.center.mapper.TestTableMapper;
import com.summer.user.center.service.TestTableService;
@Service
public class TestTableServiceImpl implements TestTableService{

    @Resource
    private TestTableMapper testTableMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return testTableMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TestTable record) {
        return testTableMapper.insert(record);
    }

    @Override
    public int insertSelective(TestTable record) {
        return testTableMapper.insertSelective(record);
    }

    @Override
    public TestTable selectByPrimaryKey(Long id) {
        return testTableMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TestTable record) {
        return testTableMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TestTable record) {
        return testTableMapper.updateByPrimaryKey(record);
    }

}
